package com.sneaker.shower.entity.domain.message;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sneaker.shower.entity.domain.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("客服发送消息model")
@TableName("message")
public class MessageDO extends BaseDomain {

    private Long userGuid;
    private Long sysUserGuid;
    private Long sessionGuid;
    private Long organizationGuid;
    @ApiModelProperty("图片:imgae, 文本:text")
    private String messageType;
    private String content;
    private LocalDateTime sendTime;
    private Integer type;

    /**
     * 是否已读 false未读，true已读
     */
    private Boolean hasRead;
}
